package com.fitns.user.dto.baseConfig;

import com.fitns.user.conf.Model;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.fitns.user.model.baseConfig.TbPersonLedger;
import com.fitns.user.model.baseConfig.TbVehicleLedger;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.annotation.Generated;

@Data
public class WorkPositionVO extends Model implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    private Long id;

    @ApiModelProperty("名称")
    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    private String name;

    @ApiModelProperty("编号")
    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    private String areaNum;

    @ApiModelProperty("组织机构id")
    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    private Long organId;

    @ApiModelProperty("类型 1.区域 2.路段")
    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    private String type;

    @ApiModelProperty("父级id 区域与路段的关系")
    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    private String parentId;

    @ApiModelProperty("面积")
    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    private Float acreage;

    @ApiModelProperty("经纬度集合")
    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    private String position;

    @ApiModelProperty("描述")
    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    private String descs;

    @ApiModelProperty("创建人id")
    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    private Long createId;

    @ApiModelProperty("修改人id")
    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    private Long modifyId;

    @ApiModelProperty("创建时间")
    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    private Date createTime;

    @ApiModelProperty("修改时间")
    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    private Date modifyTime;

    @ApiModelProperty("作业人员集合")
    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    private List<AreaPersonVO> areaPersonVOList;

    @ApiModelProperty("作业区域集合")
    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    private List<AreaVehicleVO> areaVehicleVOList;

}
